package com.ht.service;

import com.ht.bean.HolidayStudent;
import com.ht.bean.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HolidayStudentService {

    List<Map> selStuHol(String stuId, Integer startIndex, Integer pageSize, HolidayStudent holidayStudent, Student student);

    int countStuHol(String stuId, HolidayStudent holidayStudent, Student student);

    List<Map> selectAllStuFillin(Integer startIndex, Integer pageSize, HolidayStudent holidayStudent, Student student);

    int countAllStuFillin(HolidayStudent holidayStudent, Student student);

    //查询我的申请单
    public List<HolidayStudent> selHoliday(String stuId);

    public HolidayStudent findObjById(Integer holidayId);

    boolean addstuApplay(HolidayStudent holidayStudent);

    List<Student> studentList();

    //更改表单状态
    public boolean updHoliday(HolidayStudent holiday);

    String selectByTeacher(String stuId);

    String selectByClaTea(String stuId);

    String seleceByPrn();

    boolean deleteHolidayStudent(Integer holidayId);

    List<Map> LookHolidayStudentContent(Integer holidayId);

}
